package com.xja.service;

import com.xja.pojo.BlogUsers;
import com.xja.pojo.FocusInfo;

import java.util.List;

import java.util.List;

/**
 * @className: UserService
 * @description: TODO 类描述
 * @author: wkx
 * @date: 2022/4/17
 **/
public interface UserService {
    BlogUsers login(BlogUsers blogUsers);

    void register(BlogUsers blogUsers);

    List<BlogUsers> getUser(BlogUsers users, Integer page);

    void activeUser(Integer uid);


    void freezeUser(Integer uid);

    BlogUsers selectUserById(Integer bloguid);

    List<FocusInfo> selectFocusByUid(Integer uid);

    Integer selectSourceCountByUid(Integer uid);

    boolean deleteFocusInfo(Integer targetUid, Integer sourceUid);

    List<FocusInfo> selectSourceById(Integer uid);
    int attention(FocusInfo focusInfo);
}
